<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		var arr=new Array(3);
		arr[0]="hanjian";
		arr[1]="xiaozhicheng";
		arr[2]="zp";
		document.write("hanjian:"+arr.length);
		arr.length=4;
	</script>
</head>
<body>
	
</body>
</html>